<template>
    <main>
        <h1>我是中间主题区</h1>
        <!-- 直接在img标签里使用 -->
        <img src="@/assets/logo.png" alt="">
        <img v-bind:src="src" alt="">
        <img v-bind:src="myLogo" alt="">
        <img v-bind:src="require(`@/assets/logo.png`)" alt="">
    </main>
</template>

<script>
import src from '@/assets/logo.png';
export default {
    data(){
        return {
            src:src,
            myLogo:require(`@/assets/logo.png`),
        }
    }
}
</script>